import Vue from 'vue'
import Router from 'vue-router'

import login from "@/components/login"
import chatPage from "@/components/chatPage"
import checklist from "@/components/checklist"
import record from "@/components/record"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: login
    },
    {
      path: "/checklist",
      name:"checklist",
      component: checklist,
    },
    {
      path: "/chatPage",
      name:"chatPage",
      component: chatPage,
    },
    {
      path: "/login",
      name:"login",
      component: login,
    },
    {
      path:"/record",
      name:"record",
      component:record,
    },
  ]
})
